<{include file="top_v2.html" }>
<style>
    .section-1{padding:10px}
    .section-1 img{width:21%;display: inline-block;margin-bottom: 0.2rem}
    .titles{height: 0.5rem !important;line-height: 0.5rem !important;font-size: 0.25rem !important;color:#434343 !important;}
    .etitle{float: left;width: 73%;overflow: hidden;text-overflow:ellipsis;white-space: nowrap; font-size:0.3rem !important;}
    .edate{float: right;width: 22%;text-align: right;}
</style>
</head>
<body>

<div id="wrap" class="pt pb active-page">
    <div class="header">
        活动相册
        <a href="<{u('index')}>" class="back"></a>
    </div>


    <div class="section section-1" >
            <p class="titles"><span class="etitle"><{$info.title}></span>&nbsp;<span class="edate"><{$info.showListTime|truncate:10:"":true}></span></p>
    </div>

    <div class="section section-1" id="list">
        <{foreach from=$list item=pic}>
        <img src="<{$pic}>">
        <{/foreach}>
    </div>




<script>
    $('#list img').on("click",function(){
        var src=$(this).attr('src');
        wx.previewImage({
            current:src,
            urls: [        <{foreach from=$list item=pic}>
                "<{$pic}>",
                <{/foreach}>
                    ] // 需要预览的图片http链接列表
                    });

    })

</script>


</body>
</html>
